<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>谁在参与</title>
<link href="http://g.alicdn.com/bui/bui/1.1.21/css/bs3/dpl.css" rel="stylesheet">
<link href="http://g.alicdn.com/bui/bui/1.1.21/css/bs3/bui.css" rel="stylesheet">
<script src="http://g.tbcdn.cn/fi/bui/jquery-1.8.1.min.js"></script>
<script src="http://g.alicdn.com/bui/seajs/2.3.0/sea.js"></script>
<script src="http://g.alicdn.com/bui/bui/1.1.10/config.js"></script>
<script src="/assets/kxdr/gift.js"></script>
<script src="/assets/shopmanage/global_menu_jquery.js"></script>
</head>
<body style="width:990px;margin:0 auto;padding:10px 0;">

 <div class="doc-content">
    <div class="panel">
      <div class="panel-body">
	  <div class="row">
		<div class="span24 doc-content">
		<h3 class="pull-left">{$L.APP_HOME} >> {$L.APP_NAME} >> 比赛结果</h3>
		
	<div class="button-group pull-right">
	  {include file='../../../PublicView/global_menu.html'}
    </div>
		</div>
	  </div>
	  <hr />
	  <div class="button-group ">
		  <a class="button" href="/?m=kxdr"><i class="icon icon-home "></i>返回</a>
	  </div>		  
	  <span>{$game.name} 比赛时间：{$game.start_time}</span>
	  <hr />
	  {if $game.is_pub}
	  <div class="tips tips-small tips-warning">
        <span class="x-icon x-icon-small x-icon-error"><i class="icon icon-white icon-bell"></i></span>
        <div class="tips-content">这是系统内置比赛，您不能添加或修改比赛结果！
        </div>
      </div>
	  {/if}
	  {if $message}
	  <div class="tips tips-small tips-warning">
        <span class="x-icon x-icon-small x-icon-error"><i class="icon icon-white icon-bell"></i></span>
        <div class="tips-content">{$message}
        </div>
      </div>
	  {/if}
	  <br />
        <div id="panel" class="span24 " style="min-height:400px;">
			<div class="form-horizontal" id="p2">
	  <div class="row">
  <div class="doc-content">
  <form action="/?m=Kxdr&c=event&a=add_result&game_id={$game_id}" method="post" class="form-horizontal">
    <div class="row show-grid">
      <div class="span12">
	  <div class="row offset2"> 
		  <input type="hidden" name="game_id" value="{$game_id}" />
		  <input type="hidden" name="score_id" value="{$score.id}" />
		  <input type="hidden" name="save" value="1" />
		    <div class="control-group">
              <div class="controls" style="text-align:center">
                <h1>主队</h1>
              </div>
            </div>
		    <div class="control-group">
              <label class="control-label">队名：</label>
              <div class="controls">
                {$score.home_team}
              </div>
            </div>
		   <!--  <div class="control-group">
              <label class="control-label">主队链接：</label>
              <div class="controls">
                <input type="text" name="home_team_url" value="{$score.home_team_url}">
              </div>
            </div> -->
		    <div class="control-group">
              <label class="control-label">主队队标：</label>
              <div class="controls">
                <img class="home_flag_pic" src="{if $score.home_flag}{$score.home_flag|cat:'_40x40'}{else}{/if}" /> 
				<input type="hidden" class="home_flag" name="home_flag" value="{$score.home_flag}">
				{if !$game.is_pub}<div id="home_flag_up" class="pull-right"></div>{/if}
              </div>
            </div>
		    <!-- <div class="control-group">
              <label class="control-label">主队排名：</label>
              <div class="controls">
                <input type="text" name="home_team_rank" value="{$score.home_team_rank}">
              </div>
            </div> -->
		    <div class="control-group">
              <label class="control-label">主队得分：</label>
              <div class="controls">
                <input type="text" name="home_team_score" value="{$score.home_team_score}">
              </div>
            </div>
		    <div class="control-group">
              <label class="control-label">主队红牌：</label>
              <div class="controls">
                <input type="text" name="home_team_redcard" value="{$score.home_team_redcard}">
              </div>
            </div>
		    <div class="control-group">
              <label class="control-label">主队黄牌：</label>
              <div class="controls">
                <input type="text" name="home_team_yellowcard" value="{$score.home_team_yellowcard}">
              </div>
            </div>
		    <div class="control-group">
              <label class="control-label">主队半场得分：</label>
              <div class="controls">
                <input type="text" name="home_team_halfscore" value="{$score.home_team_halfscore}">
              </div>
            </div>
		    <div class="control-group">
              <label class="control-label">主队射门：</label>
              <div class="controls">
                <input type="text" name="home_shoot" value="{$score.home_shoot}">
              </div>
            </div>
		    <div class="control-group">
              <label class="control-label">主队射正：</label>
              <div class="controls">
                <input type="text" name="home_target_shoot" value="{$score.home_target_shoot}">
              </div>
            </div>
		    <div class="control-group">
              <label class="control-label">主队射中门框：</label>
              <div class="controls">
                <input type="text" name="home_woodwork_shoot" value="{$score.home_woodwork_shoot}">
              </div>
            </div>
		    <div class="control-group">
              <label class="control-label">主队直塞球：</label>
              <div class="controls">
                <input type="text" name="home_straight_plug_ball" value="{$score.home_straight_plug_ball}">
              </div>
            </div>
		    <div class="control-group">
              <label class="control-label">主队越位：</label>
              <div class="controls">
                <input type="text" name="home_offside" value="{$score.home_offside}">
              </div>
            </div>
		    <div class="control-group">
              <label class="control-label">主队抢断：</label>
              <div class="controls">
                <input type="text" name="home_steals" value="{$score.home_steals}">
              </div>
            </div>
		    <div class="control-group">
              <label class="control-label">主队解围：</label>
              <div class="controls">
                <input type="text" name="home_free_kick" value="{$score.home_free_kick}">
              </div>
            </div>
		    <div class="control-group">
              <label class="control-label">主队犯规：</label>
              <div class="controls">
                <input type="text" name="home_foul" value="{$score.home_foul}">
              </div>
            </div>
		    <div class="control-group">
              <label class="control-label">主队角球：</label>
              <div class="controls">
                <input type="text" name="home_corner" value="{$score.home_corner}">
              </div>
            </div>
		    <div class="control-group">
              <label class="control-label">主队界外球：</label>
              <div class="controls">
                <input type="text" name="home_foul_ball" value="{$score.home_foul_ball}">
              </div>
            </div>
		    <div class="control-group">
              <label class="control-label">主队25码长传：</label>
              <div class="controls">
                <input type="text" name="home_over_25_yard_passes" value="{$score.home_over_25_yard_passes}">
              </div>
            </div>
		    <div class="control-group">
              <label class="control-label">主队传球成功率：</label>
              <div class="controls">
                <input type="text" name="home_pass_success_rate" value="{$score.home_pass_success_rate/100}">%
              </div>
            </div>
		    <div class="control-group">
              <label class="control-label">主队传中成功率：</label>
              <div class="controls">
                <input type="text" name="home_pass_center_success_rate" value="{$score.home_pass_center_success_rate/100}">%
              </div>
            </div>
		    <div class="control-group">
              <label class="control-label">主队抢断成功率：</label>
              <div class="controls">
                <input type="text" name="home_steal_success_rate" value="{$score.home_steal_success_rate/100}">%
              </div>
            </div>
		    <div class="control-group">
              <label class="control-label">主队头球成功率：</label>
              <div class="controls">
                <input type="text" name="home_header_success_rate" value="{$score.home_header_success_rate/100}">%
              </div>
            </div>
		    <div class="control-group">
              <label class="control-label">主队控球率：</label>
              <div class="controls">
                <input type="text" name="home_ball_control_rate" value="{$score.home_ball_control_rate/100}">%
              </div>
            </div>   
        </div>
	  </div>
      <div class="span12">
	    <div class="row offset1"> 
		    <div class="control-group">
              <div class="controls" style="text-align:center">
                <h1>客队</h1>
              </div>
            </div>
		    <div class="control-group">
              <label class="control-label">队名：</label>
              <div class="controls">
                {$score.guest_team}
              </div>
            </div>
		    <!-- <div class="control-group">
              <label class="control-label">客队链接：</label>
              <div class="controls">
                <input type="text" name="guest_team_url" value="{$score.guest_team_url}">
              </div>
            </div> -->
		    <div class="control-group">
              <label class="control-label">客队队标：</label>
              <div class="controls">
				<img  class="guest_flag_pic" src="{if $score.guest_flag}{$score.guest_flag|cat:'_40x40'}{else}{/if}" /> 
				<input type="hidden" class="guest_flag" name="guest_flag" value="{$score.guest_flag}">
				{if !$game.is_pub}<div id="guest_flag_up" class="pull-right"></div>{/if}
			  </div>
            </div>
		    <!-- <div class="control-group">
              <label class="control-label">客队排名：</label>
              <div class="controls">
                <input type="text" name="guest_team_rank" value="{$score.guest_team_rank}">
              </div>
            </div> -->
		    <div class="control-group">
              <label class="control-label">客队得分：</label>
              <div class="controls">
                <input type="text" name="guest_team_score" value="{$score.guest_team_score}">
              </div>
            </div>
		    <div class="control-group">
              <label class="control-label">客队红牌：</label>
              <div class="controls">
                <input type="text" name="guest_team_redcard" value="{$score.guest_team_redcard}">
              </div>
            </div>
		    <div class="control-group">
              <label class="control-label">客队黄牌：</label>
              <div class="controls">
                <input type="text" name="guest_team_yellowcard" value="{$score.guest_team_yellowcard}">
              </div>
            </div>
		    <div class="control-group">
              <label class="control-label">客队半场得分：</label>
              <div class="controls">
                <input type="text" name="guest_team_halfscore" value="{$score.guest_team_halfscore}">
              </div>
            </div>
		    <div class="control-group">
              <label class="control-label">客队射门：</label>
              <div class="controls">
                <input type="text" name="guest_shoot" value="{$score.guest_shoot}">
              </div>
            </div>
		    <div class="control-group">
              <label class="control-label">客队射正：</label>
              <div class="controls">
                <input type="text" name="guest_target_shoot" value="{$score.guest_target_shoot}">
              </div>
            </div>
		    <div class="control-group">
              <label class="control-label">客队射中门框：</label>
              <div class="controls">
                <input type="text" name="guest_woodwork_shoot" value="{$score.guest_woodwork_shoot}">
              </div>
            </div>
		    <div class="control-group">
              <label class="control-label">客队直塞球：</label>
              <div class="controls">
                <input type="text" name="guest_straight_plug_ball" value="{$score.guest_straight_plug_ball}">
              </div>
            </div>
		    <div class="control-group">
              <label class="control-label">客队越位：</label>
              <div class="controls">
                <input type="text" name="guest_offside" value="{$score.guest_offside}">
              </div>
            </div>
		    <div class="control-group">
              <label class="control-label">客队抢断：</label>
              <div class="controls">
                <input type="text" name="guest_steals" value="{$score.guest_steals}">
              </div>
            </div>
		    <div class="control-group">
              <label class="control-label">客队解围：</label>
              <div class="controls">
                <input type="text" name="guest_free_kick" value="{$score.guest_free_kick}">
              </div>
            </div>
		    <div class="control-group">
              <label class="control-label">客队犯规：</label>
              <div class="controls">
                <input type="text" name="guest_foul" value="{$score.guest_foul}">
              </div>
            </div>
		    <div class="control-group">
              <label class="control-label">客队角球：</label>
              <div class="controls">
                <input type="text" name="guest_corner" value="{$score.guest_corner}">
              </div>
            </div>
		    <div class="control-group">
              <label class="control-label">客队界外球：</label>
              <div class="controls">
                <input type="text" name="guest_foul_ball" value="{$score.guest_foul_ball}">
              </div>
            </div>
		    <div class="control-group">
              <label class="control-label">客队25码长传：</label>
              <div class="controls">
                <input type="text" name="guest_over_25_yard_passes" value="{$score.guest_over_25_yard_passes}">
              </div>
            </div>
		    <div class="control-group">
              <label class="control-label">客队传球成功率：</label>
              <div class="controls">
                <input type="text" name="guest_pass_success_rate" value="{$score.guest_pass_success_rate/100}">%
              </div>
            </div>
		    <div class="control-group">
              <label class="control-label">客队传中成功率：</label>
              <div class="controls">
                <input type="text" name="guest_pass_center_success_rate" value="{$score.guest_pass_center_success_rate/100}">%
              </div>
            </div>
		    <div class="control-group">
              <label class="control-label">客队抢断成功率：</label>
              <div class="controls">
                <input type="text" name="guest_steal_success_rate" value="{$score.guest_steal_success_rate/100}">%
              </div>
            </div>
		    <div class="control-group">
              <label class="control-label">客队头球成功率：</label>
              <div class="controls">
                <input type="text" name="guest_header_success_rate" value="{$score.guest_header_success_rate/100}">%
              </div>
            </div>
		    <div class="control-group">
              <label class="control-label">客队控球率：</label>
              <div class="controls">
                <input type="text" name="guest_ball_control_rate" value="{$score.guest_ball_control_rate/100}">%
              </div>
            </div>   
        </div>
	  </div>
	  
    </div>
	{if $game.is_pub}
		<div class="row actions-bar">       
                <div class="form-actions span13 offset10">
                  <a class="button" href="/?m=kxdr"><i class="icon icon-home "></i>返回</a>
                </div>
            </div> 
	{else}
			<div class="row actions-bar">       
                <div class="form-actions span13 offset9">
                  <button type="submit" class="button button-primary">保存</button>
                  <button type="reset" class="button">重置</button>
                </div>
            </div> 
    {/if}
	</form>
    <div>
      <!-- <ul class="toolbar pull-left">
        <li><label class="checkbox"><input type="checkbox"><a href="#">全选</a></label></li>
        <li><button class="button button-danger"><i class="icon-white icon-trash"></i>批量删除</button></li>
        <li><button class="button button-success">审核通过</button></li>
        <li><button class="button button-inverse">审核不通过</button></li>
      </ul> -->
      <div class="pagination pull-right">
	    {$show}
      </div>
    </div>
</div>

      </div>
	  </div></div>
    </div>
  </div>
  </div>
</body>
</html>